package org.prothliberger.reflect;

public class Employee extends Personne {
	private String post;
	private int salaire;

	public Employee(String aPrenom, String aNom, Sexe aSexe, boolean aMarried, String aPost, int aSalaire) {
	//	super(aPrenom, aNom, aSexe, aMarried);
		post = aPost;
		salaire = aSalaire;
	}

	public Employee() {
	}

	public String getPost() {
		return post;
	}

	public void setPost(String aPost) {
		post = aPost;
	}

	public int getSalaire() {
		return salaire;
	}

	public void setSalaire(int aSalaire) {
		salaire = aSalaire;
	}
	
	public String toString() {
		Object test = null;
		return post + " " + salaire + "\n" +super.toString();		
	}
	
}